package com.example.test_memory

import android.os.Bundle
import android.os.Handler
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat

class MainActivity2 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContentView(R.layout.activity_main2)
        UserManager.getInstance(applicationContext)
    }

    //内部类
    class InnerClass {

    }
    //匿名内部类
    val anonymousInnerClass = object :Handler(){

    }
    //静态内部类
    companion object {
        class StaticInnerClass {

        }

    }

}